<?php if (!defined('THINK_PATH')) exit();?><script src='../Public/js/jquery.js'></script>
<script src='../Public/js/good_add.js'></script>
<link rel="stylesheet" href="../Public/css/jquery.wysiwyg.css" type="text/css" />
  <script type="text/javascript" src="../Public/js/jquery-1.3.2.js"></script>
 <script charset="utf-8" src="../Public/js/kindeditor/kindeditor.js"></script>
	<script>
		KE.show({
			id : 'content1',
			imageUploadJson : '../Public/js/kindeditor/file_php/upload_json.php',
			fileManagerJson : '../Public/js/kindeditor/file_php/file_manager_json.php',
			allowFileManager : true,
			afterCreate : function(id) {
				KE.event.ctrl(document, 13, function() {
					KE.util.setData(id);
					document.forms['example'].submit();
				});
				KE.event.ctrl(KE.g[id].iframeDoc, 13, function() {
					KE.util.setData(id);
					document.forms['example'].submit();
				});
			}
		});
	</script>
<table>
<form name='example' action='__APP__/GoodMange/add' method='post' enctype="multipart/form-data">{__NOTOKEN__}
    <caption><h1>添加商品</h1></caption>
    <tr>
				<th>类别名：</th><td>
					 <?php echo ($cat_slid); ?>
				</td>
			</tr>
    
    
       
        <tr>
				<th>商品名：</th><td>
					<input type="text" name="goodname" value="">
				</td>
			</tr>
			
			<tr>
				<th>价  格：</th><td>
					<input type="text" name="price" value="">
				</td>
			</tr>
			<tr>
				<th>图  片：</th><td>
					<div id="up">
                                            <input type='file' class='add_file' name="upload[]" ><a href='#'onclick="add()">添加</a>
                                            
                                         
                                        </div>
				</td>
			</tr>
			<tr>
				<th>数  量：</th><td>
					<input type="text" name="count" value="">
				</td>
			</tr>
			<tr>
				<th>介  绍：</th><td>
					<!--<textarea name="introduction" cols="40" rows="7"></textarea>-->
                                        <!--<?php echo ($textarea); ?>-->
                                        <textarea id="content1" name="introduction" cols="100" rows="8" style="width:700px;height:200px;visibility:hidden;"></textarea>
                                       

				</td>
			</tr>
			<tr>
				<td align="center" colspan="2">
					<input type="submit" name="sub" value="提交">
				</td>
			</tr>
</form>
</table>